<div class="frame_configDiv">
<form name="hotsearchForm" id="hotsearchForm" action="administrator-system-doedithotsearch" method="post">
  <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#c8d9e9">  	<tr>
	  <td colspan="2" style="padding: 10px;">编辑热门关键词  >> <a href="administrator-system-hotsearchlist">返回列表</a></td>
	</tr>
    <tr>
      <td width="27%" class="ri-bbgg"> 关键词：</td>
      <td width="73%" class="le"><input class="hotsearchInput" type="text" value="<?php echo $this->itemArray[0]['keyword']?>" name="keyword" /></td>
    </tr>    <tr>      <td width="27%" class="ri-bbgg"> 排序：</td>      <td width="73%" class="le"><input class="hotsearchInput" type="text" value="<?php echo $this->itemArray[0]['order']?>" name="order" /></td>    </tr>
	<tr>
      <td colspan="2" class="se" align="center">		<input type="hidden" name="id" value="<?php echo $this->itemArray[0]['id']?>" />
        <input type="button" class="iput" value="保 存"   onclick="checkform();" />　　
        <input type="button" class="iput" value="返 回" onclick="commonEffection.confirmBack();" />
      </td>
    </tr>
  </table>
  </form>
</div>
<script>
function checkform(){
	var isTrue=true;
	$('.hotsearchInput').each(
		function(){
			if(trim($(this).val())==''){
				isTrue=false;
			}
		}
	);
	if(isTrue){
		$('#hotsearchForm').submit();
	}else{
		alert('请填写完整所有信息!');
	}
}
</script>